package org.dromara.system.domain;

import lombok.*;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;

import java.io.Serial;
import java.math.BigDecimal;

/**
 * 【请填写功能名称】对象 sys_user_freeze_points_records
 *
 * @author Lion Li
 * @date 2025-07-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_user_freeze_points_records")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SysUserFreezePointsRecords extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id")
    private Long id;

    /**
     *
     */
    private Long userId;

    /**
     * 变更类型
     */
    private Integer type;

    /**
     * 变更前积分
     */
    private BigDecimal sourceFreezePoints;

    /**
     * 变更后积分
     */
    private BigDecimal targetFreezePoints;

    /**
     * 备注
     */
    private String remark;

    //交易sn备注
    private String tradingSnRemark;

    //交易金额备注
    private BigDecimal tradingAmountRemark;

    /**
     * 删除标志（0代表存在 1代表删除）
     */
    @TableLogic
    private String delFlag;


}
